<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>用户信息-文本插值-data返回函数</title>
  <script src="vue.js"></script>
</head>
<body>
   <div id="app">
      <p>用户您好！</p>
      <ul>
         <li>姓名 : {{name}}</li>
         <li>城市 : {{city}}</li>
      </ul>
   </div>
   <script>
      let user = {
            name : "Chance",
            city  : "Beijing",
         };
      let vm = new Vue({
         el: '#app',
         data(){
            return user;
         } 
      })      
   </script>
</body>
</html>
